]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Push a modal for LOCK_SCREEN
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 27 Jul 2014 12:18:51 +0000 (08:18 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sun, 27 Jul 2014 12:18:51 +0000 (08:18 -0400)
So that we're in the correct keybinding mode.

js/gdm/loginDialog.js

index 6ea04baef1d0a368e5fa6c06de7f469ac4c69c50..cbb5721dbd428f1436a13103be30f42a717c6dfe 100644 (file)
@@ -926,6 +926,8 @@ const LoginDialog = new Lang.Class({
         this.actor.show();
         this.actor.opacity = 0;
 
+        Main.pushModal(this.actor, { keybindingMode: Shell.KeyBindingMode.LOGIN_SCREEN });
+
         Tweener.addTween(this.actor,
                          { opacity: 255,
                            time: 1,
@@ -935,6 +937,7 @@ const LoginDialog = new Lang.Class({
     },
 
     close: function() {
+        Main.popModal(this.actor);
         Main.ctrlAltTabManager.removeGroup(this.actor);
     },